import Loadable from 'react-loadable'
import React from 'react'
const Loading = ()=>{
    return (<div>
        正在加载loading...
    </div>)
}
export default (loader,loading = Loading)=>{
    return Loadable({
        loader,
        loading
    })
}